import {registerLayout, ViewType } from "@kunlun/dependencies"

export const install = () => {
  registerLayout(`<view type="FORM">
    <element widget="actionBar" slot="actionBar" slotSupport="action">
    <xslot name="actions" slotSupport="action" />
    </element>
    <custom widget="PetForm">
    </custom>
    </view>
  `, {
    viewType: ViewType.Table,
    moduleName: 'DemoCore',
    model: 'demo.DemoItem'
  });
}

install();